/*
 * SpanElement.h
 *
 *  Created on: 2010-6-7
 *      Author: Guobc
 */

#ifndef SPANELEMENT_H_
#define SPANELEMENT_H_

#include "CommonElement.h"

namespace HA {
class SpanElement: public HA::CommonElement {
public:
	SpanElement();

	/**
	 * Get the set of names handles by this element.
	 * @return The names to be matched that create elements of this type.
	 */
	inline string* getIds() const {
		return mIds;
	}

	/**
	 * Allow creating an instance of this node.
	 * @return A new instance of this node.
	 */
	inline ASTNode* newInstance() const {
		return new SpanElement();
	}

private:
	static string mIds[];
};
}
#endif /* SPANELEMENT_H_ */
